// 引入mysql
var mysql = require('mysql')
// 与mysql链接
let connection = mysql.createConnection({
  host: '106.12.173.159',
  user: 'rgf000',
  password: 'rgf123456',
  port: 3306,
  database: 'houtai',
})
connection.connect()

// 导出
module.exports = connection
